<?php

namespace Pocker\PockerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PkUser
 *
 * @ORM\Table(name="pk_user")
 * @ORM\Entity(repositoryClass="Pocker\PockerBundle\Repository\PkUserRepository")
 */
class PkUser
{
    /**
     * @var string
     *
     * @ORM\Column(name="user_id", type="string", length=36, nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $userId;

    /**
     * @var string
     *
     * @ORM\Column(name="username", type="string", length=32, nullable=false)
     */
    private $username;

    /**
     * @var string
     *
     * @ORM\Column(name="password", type="string", length=120, nullable=false)
     */
    private $password;

    /**
     * @var string
     *
     * @ORM\Column(name="fullname", type="string", length=200, nullable=false)
     */
    private $fullname;

    /**
     * @var boolean
     *
     * @ORM\Column(name="del_flg", type="boolean", nullable=false)
     */
    private $delFlg = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="insert_datetime", type="datetime", nullable=false)
     */
    private $insertDatetime;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="update_datetime", type="datetime", nullable=false)
     */
    private $updateDatetime;



    /**
     * Get userId
     *
     * @return string 
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * Set username
     *
     * @param string $username
     * @return PkUser
     */
    public function setUsername($username)
    {
        $this->username = $username;

        return $this;
    }

    /**
     * Get username
     *
     * @return string 
     */
    public function getUsername()
    {
        return $this->username;
    }

    /**
     * Set password
     *
     * @param string $password
     * @return PkUser
     */
    public function setPassword($password)
    {
        $this->password = $password;

        return $this;
    }

    /**
     * Get password
     *
     * @return string 
     */
    public function getPassword()
    {
        return $this->password;
    }

    /**
     * Set fullname
     *
     * @param string $fullname
     * @return PkUser
     */
    public function setFullname($fullname)
    {
        $this->fullname = $fullname;

        return $this;
    }

    /**
     * Get fullname
     *
     * @return string 
     */
    public function getFullname()
    {
        return $this->fullname;
    }

    /**
     * Set delFlg
     *
     * @param boolean $delFlg
     * @return PkUser
     */
    public function setDelFlg($delFlg)
    {
        $this->delFlg = $delFlg;

        return $this;
    }

    /**
     * Get delFlg
     *
     * @return boolean 
     */
    public function getDelFlg()
    {
        return $this->delFlg;
    }

    /**
     * Set insertDatetime
     *
     * @param \DateTime $insertDatetime
     * @return PkUser
     */
    public function setInsertDatetime($insertDatetime)
    {
        $this->insertDatetime = $insertDatetime;

        return $this;
    }

    /**
     * Get insertDatetime
     *
     * @return \DateTime 
     */
    public function getInsertDatetime()
    {
        return $this->insertDatetime;
    }

    /**
     * Set updateDatetime
     *
     * @param \DateTime $updateDatetime
     * @return PkUser
     */
    public function setUpdateDatetime($updateDatetime)
    {
        $this->updateDatetime = $updateDatetime;

        return $this;
    }

    /**
     * Get updateDatetime
     *
     * @return \DateTime 
     */
    public function getUpdateDatetime()
    {
        return $this->updateDatetime;
    }
}
